/*=+--+=#=+--     Unmanned Aerial System Management Software      --+=#=+--+=#*\
|          Copyright (C) 2011 Regents of the University of Colorado.           |
|                             All Rights Reserved.                             |

     This program is free software: you can redistribute it and/or modify
     it under the terms of the GNU General Public License version 2 as
     published by the Free Software Foundation.

     This program is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     GNU General Public License for more details.

     You should have received a copy of the GNU General Public License
     along with this program.  If not, see <http://www.gnu.org/licenses/>.

            Jack Elston                       Cory Dixon                        
|           elstonj@colorado.edu              dixonc@colorado.edu              |
|                                                                              |
\*=+--+=#=+--                 --+=#=+--+=#=+--                    --+=#=+--+=#*/

/*!
 * This object implements a generalized UKF. The user must provide
 * the necessary input data (see constructor).
 *                      
 * FILENAME:
 * ga.h
 *
 * PURPOSE:
 * Impliment a genetic algorithm for optimization
 *
 * CREATED:
 * 10/2012 by Maciej Stachura and Jason Durrie
 *
 * LAST MODIFIED:
 * $Date: 2012/08/30 $
 * $Revision: 1.0 $
 * $Author: stachura $
*/ 

#include <math.h>
#include <iostream>
#include "matrix.h"

Matrix ga_randomSoln(Matrix LB, Matrix UB);
Matrix ga_produceFromPop(Matrix oldpop, Matrix newpop, Matrix slots, Matrix LB, Matrix UB);
size_t findSlot(int v, Matrix slots);
double uniform();
int randi(int min, int max);
